<?php

class EWebUser extends CWebUser
{
    public function afterLogout() {
        parent::beforeLogout();
        Temp::model()->deleteAll('LOWER(user)=?',array(Yii::app()->user->stateKeyPrefix));
        return true;
    }   
}
